package com.basic.auth.domain;



import com.basic.auth.dao.model.AuthRoleFunc;

import java.util.List;

/**
 * 角色功能数据BO
 *
 * @author lpp
 * @version 1.0
 * @Date 2018/8/18 11:13
 */
public class AuthRoleFuncBo extends AuthRoleFunc {

    /**
     * 授权人boId
     *
     * @author lpp
     * @date 2019/4/24 15:05
     */
    private Long authBoId;
    /**
     * 角色codelist
     *
     * @author lpp
     * @date 2019/4/25 11:00
     */
    private List<String> roleCodeList;
    /**
     * 功能id,多功能id时以|线分隔
     */
    private String funcIds;
    /**
     * 功能类型
     */
    private String type;
    /**
     * 功能名称
     */
    private String name;
    /**
     * 功能路径
     */
    private String url;
    /**
     * 功能图标
     */
    private String icon;

    /**
     * 功能级别
     */
    private Integer rank;
    /**
     * 是否是末级节点
     * LS 2020/5/6
     */
    private Short isEnd;
    /**
     * 功能父级id
     */
    private Long parentFuncId;
    /**
     * 用户boid
     */
    private String boId;

    /**
     * 功能集合
     *
     * @author lpp
     * @date 2019/6/25 17:47
     */
    private List<AuthFuncBo> funcList;

    /**
     * 子系统id集合
     *
     * @author lpp
     * @date 2019/6/25 18:12
     */
    private List<Short> subSystemIdList;
    /**
     * 功能code
     *
     * @author lpp
     * @date 2019/10/15 18:32
     */
    private String funcCode;

    public String getFuncCode() {
        return funcCode;
    }

    public void setFuncCode(String funcCode) {
        this.funcCode = funcCode;
    }

    public List<Short> getSubSystemIdList() {
        return subSystemIdList;
    }

    public void setSubSystemIdList(List<Short> subSystemIdList) {
        this.subSystemIdList = subSystemIdList;
    }

    public List<AuthFuncBo> getFuncList() {
        return funcList;
    }

    public void setFuncList(List<AuthFuncBo> funcList) {
        this.funcList = funcList;
    }

    public List<String> getRoleCodeList() {
        return roleCodeList;
    }

    public void setRoleCodeList(List<String> roleCodeList) {
        this.roleCodeList = roleCodeList;
    }

    public String getBoId() {
        return boId;
    }

    public void setBoId(String boId) {
        this.boId = boId;
    }

    public String getFuncIds() {
        return funcIds;
    }

    public void setFuncIds(String funcIds) {
        this.funcIds = funcIds;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Short getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Short isEnd) {
        this.isEnd = isEnd;
    }

    public Long getParentFuncId() {
        return parentFuncId;
    }

    public void setParentFuncId(Long parentFuncId) {
        this.parentFuncId = parentFuncId;
    }

    public Long getAuthBoId() {
        return authBoId;
    }

    public void setAuthBoId(Long authBoId) {
        this.authBoId = authBoId;
    }

    @Override
    public String toString() {
        return "AuthRoleFuncBo{" +
                "authBoId=" + authBoId +
                ", roleCodeList=" + roleCodeList +
                ", funcIds='" + funcIds + '\'' +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", icon='" + icon + '\'' +
                ", rank=" + rank +
                ", isEnd=" + isEnd +
                ", parentFuncId=" + parentFuncId +
                ", boId=" + boId +
                ", funcList=" + funcList +
                ", subSystemIdList=" + subSystemIdList +
                ", funcCode='" + funcCode + '\'' +
                '}';
    }
}
